<!DOCTYPE html>
<body>
<div style="margin-left: 0.5px; width: 12px; height: 26px; background: red;"><div style="width: 12px; height: 26px; background: lime; clip-path: url(#clip-path);"></div></div>
<svg height="0"><clipPath id="clip-path"><rect x="0" y="0" width="12" height="26"/></clipPath></svg>
</body>
